package com.ajun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


@Getter
@Setter
@Accessors(chain = true)
@TableName("tb_user")
public class User implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	private String username;

	private String password;

	private String phone;

	private String email;

	private LocalDateTime created;

	private LocalDateTime updated;

	private String sourceType;

	private String nickName;

	private String name;

	private String status;

	private String headPic;

	private String qq;
	private Long accountBalance;

	private String isMobileCheck;

	private String isEmailCheck;

	private String sex;

	private Integer userLevel;

	private Integer points;

	private Integer experienceValue;

	private LocalDateTime birthday;

	private LocalDateTime lastLoginTime;
}
